IntentFilter.fromJson constructor

IntentFilter.fromJson(
  1. Map json_
)

Implementation

IntentFilter.fromJson(core.Map json_)
    : this(
        actionNames: json_.containsKey('actionNames')
            ? (json_['actionNames'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        categoryNames: json_.containsKey('categoryNames')
            ? (json_['categoryNames'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        mimeType: json_.containsKey('mimeType')
            ? json_['mimeType'] as core.String
            : null,
      );