ShareSettings.fromJson constructor

ShareSettings.fromJson(
  1. Map json_
)

Implementation

ShareSettings.fromJson(core.Map json_)
    : this(
        projectMap: json_.containsKey('projectMap')
            ? (json_['projectMap'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  ShareSettingsProjectConfig.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
        shareType: json_.containsKey('shareType')
            ? json_['shareType'] as core.String
            : null,
      );