App.fromJson constructor

App.fromJson(
  1. Map json_
)

Implementation

App.fromJson(core.Map json_)
    : this(
        appApprovalState: json_.containsKey('appApprovalState')
            ? json_['appApprovalState'] as core.String
            : null,
        appId:
            json_.containsKey('appId') ? json_['appId'] as core.String : null,
        linkedAppInfo: json_.containsKey('linkedAppInfo')
            ? AppLinkedAppInfo.fromJson(
                json_['linkedAppInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        manualAppInfo: json_.containsKey('manualAppInfo')
            ? AppManualAppInfo.fromJson(
                json_['manualAppInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        platform: json_.containsKey('platform')
            ? json_['platform'] as core.String
            : null,
      );