UpdateMetadataArguments.fromJson constructor

UpdateMetadataArguments.fromJson(
  1. Map json_
)

Implementation

UpdateMetadataArguments.fromJson(core.Map json_)
    : this(
        deviceId: json_.containsKey('deviceId')
            ? json_['deviceId'] as core.String
            : null,
        deviceIdentifier: json_.containsKey('deviceIdentifier')
            ? DeviceIdentifier.fromJson(json_['deviceIdentifier']
                as core.Map<core.String, core.dynamic>)
            : null,
        deviceMetadata: json_.containsKey('deviceMetadata')
            ? DeviceMetadata.fromJson(json_['deviceMetadata']
                as core.Map<core.String, core.dynamic>)
            : null,
      );