CustomApp.fromJson constructor Null safety

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,
      );