GoogleAppsDriveLabelsV2FieldSchemaCapabilities.fromJson constructor

GoogleAppsDriveLabelsV2FieldSchemaCapabilities.fromJson(
  1. Map json_
)

Implementation

GoogleAppsDriveLabelsV2FieldSchemaCapabilities.fromJson(core.Map json_)
    : this(
        canDelete: json_.containsKey('canDelete')
            ? json_['canDelete'] as core.bool
            : null,
        canDisable: json_.containsKey('canDisable')
            ? json_['canDisable'] as core.bool
            : null,
        canEnable: json_.containsKey('canEnable')
            ? json_['canEnable'] as core.bool
            : null,
        canUpdate: json_.containsKey('canUpdate')
            ? json_['canUpdate'] as core.bool
            : null,
      );