PersistentPreferredActivity.fromJson constructor

PersistentPreferredActivity.fromJson(
  1. Map json_
)

Implementation

PersistentPreferredActivity.fromJson(core.Map json_)
    : this(
        actions: json_.containsKey('actions')
            ? (json_['actions'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        categories: json_.containsKey('categories')
            ? (json_['categories'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        receiverActivity: json_.containsKey('receiverActivity')
            ? json_['receiverActivity'] as core.String
            : null,
      );