UpdateTextStyleRequest.fromJson constructor

UpdateTextStyleRequest.fromJson(
  1. Map json_
)

Implementation

UpdateTextStyleRequest.fromJson(core.Map json_)
  : this(
      cellLocation: json_.containsKey('cellLocation')
          ? TableCellLocation.fromJson(
              json_['cellLocation'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      fields: json_['fields'] as core.String?,
      objectId: json_['objectId'] as core.String?,
      style: json_.containsKey('style')
          ? TextStyle.fromJson(
              json_['style'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      textRange: json_.containsKey('textRange')
          ? Range.fromJson(
              json_['textRange'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );