CustomApp.fromJson constructor

CustomApp.fromJson(
  1. Map json_
)

Implementation

CustomApp.fromJson(core.Map json_)
    : this(
        languageCode: json_.containsKey('languageCode')
            ? json_['languageCode'] as core.String
            : null,
        organizations: json_.containsKey('organizations')
            ? (json_['organizations'] as core.List)
                .map((value) => Organization.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        packageName: json_.containsKey('packageName')
            ? json_['packageName'] as core.String
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );