StartLostModeParams.fromJson constructor

StartLostModeParams.fromJson(
  1. Map json_
)

Implementation

StartLostModeParams.fromJson(core.Map json_)
    : this(
        lostEmailAddress: json_.containsKey('lostEmailAddress')
            ? json_['lostEmailAddress'] as core.String
            : null,
        lostMessage: json_.containsKey('lostMessage')
            ? UserFacingMessage.fromJson(
                json_['lostMessage'] as core.Map<core.String, core.dynamic>)
            : null,
        lostOrganization: json_.containsKey('lostOrganization')
            ? UserFacingMessage.fromJson(json_['lostOrganization']
                as core.Map<core.String, core.dynamic>)
            : null,
        lostPhoneNumber: json_.containsKey('lostPhoneNumber')
            ? UserFacingMessage.fromJson(json_['lostPhoneNumber']
                as core.Map<core.String, core.dynamic>)
            : null,
        lostStreetAddress: json_.containsKey('lostStreetAddress')
            ? UserFacingMessage.fromJson(json_['lostStreetAddress']
                as core.Map<core.String, core.dynamic>)
            : null,
      );