StartActivityIntent.fromJson constructor

StartActivityIntent.fromJson(
  1. Map _json
)

Implementation

StartActivityIntent.fromJson(core.Map _json)
    : this(
        action: _json.containsKey('action')
            ? _json['action'] as core.String
            : null,
        categories: _json.containsKey('categories')
            ? (_json['categories'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        uri: _json.containsKey('uri') ? _json['uri'] as core.String : null,
      );