GoogleAppsDriveLabelsV2LabelLock.fromJson constructor

GoogleAppsDriveLabelsV2LabelLock.fromJson(
  1. Map json_
)

Implementation

GoogleAppsDriveLabelsV2LabelLock.fromJson(core.Map json_)
    : this(
        capabilities: json_.containsKey('capabilities')
            ? GoogleAppsDriveLabelsV2LabelLockCapabilities.fromJson(
                json_['capabilities'] as core.Map<core.String, core.dynamic>)
            : null,
        choiceId: json_.containsKey('choiceId')
            ? json_['choiceId'] as core.String
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        creator: json_.containsKey('creator')
            ? GoogleAppsDriveLabelsV2UserInfo.fromJson(
                json_['creator'] as core.Map<core.String, core.dynamic>)
            : null,
        deleteTime: json_.containsKey('deleteTime')
            ? json_['deleteTime'] as core.String
            : null,
        fieldId: json_.containsKey('fieldId')
            ? json_['fieldId'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );