EventExtendedProperties.fromJson constructor

EventExtendedProperties.fromJson(
  1. Map json_
)

Implementation

EventExtendedProperties.fromJson(core.Map json_)
    : this(
        private: json_.containsKey('private')
            ? (json_['private'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        shared: json_.containsKey('shared')
            ? (json_['shared'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
      );