MigrationToken.fromJson constructor

MigrationToken.fromJson(
  1. Map json_
)

Implementation

MigrationToken.fromJson(core.Map json_)
    : this(
        additionalData: json_.containsKey('additionalData')
            ? json_['additionalData'] as core.String
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        device: json_.containsKey('device')
            ? json_['device'] as core.String
            : null,
        deviceId: json_.containsKey('deviceId')
            ? json_['deviceId'] as core.String
            : null,
        expireTime: json_.containsKey('expireTime')
            ? json_['expireTime'] as core.String
            : null,
        managementMode: json_.containsKey('managementMode')
            ? json_['managementMode'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        policy: json_.containsKey('policy')
            ? json_['policy'] as core.String
            : null,
        ttl: json_.containsKey('ttl') ? json_['ttl'] as core.String : null,
        userId: json_.containsKey('userId')
            ? json_['userId'] as core.String
            : null,
        value:
            json_.containsKey('value') ? json_['value'] as core.String : null,
      );