TokenPayloadExternal.fromJson constructor

TokenPayloadExternal.fromJson(
  1. Map json_
)

Implementation

TokenPayloadExternal.fromJson(core.Map json_)
    : this(
        accountDetails: json_.containsKey('accountDetails')
            ? AccountDetails.fromJson(json_['accountDetails']
                as core.Map<core.String, core.dynamic>)
            : null,
        appIntegrity: json_.containsKey('appIntegrity')
            ? AppIntegrity.fromJson(
                json_['appIntegrity'] as core.Map<core.String, core.dynamic>)
            : null,
        deviceIntegrity: json_.containsKey('deviceIntegrity')
            ? DeviceIntegrity.fromJson(json_['deviceIntegrity']
                as core.Map<core.String, core.dynamic>)
            : null,
        environmentDetails: json_.containsKey('environmentDetails')
            ? EnvironmentDetails.fromJson(json_['environmentDetails']
                as core.Map<core.String, core.dynamic>)
            : null,
        requestDetails: json_.containsKey('requestDetails')
            ? RequestDetails.fromJson(json_['requestDetails']
                as core.Map<core.String, core.dynamic>)
            : null,
        testingDetails: json_.containsKey('testingDetails')
            ? TestingDetails.fromJson(json_['testingDetails']
                as core.Map<core.String, core.dynamic>)
            : null,
      );