UpdateTextStyleRequest.fromJson constructor

UpdateTextStyleRequest.fromJson(
  1. Map json_
)

Implementation

UpdateTextStyleRequest.fromJson(core.Map json_)
    : this(
        fields: json_.containsKey('fields')
            ? json_['fields'] as core.String
            : null,
        range: json_.containsKey('range')
            ? Range.fromJson(
                json_['range'] as core.Map<core.String, core.dynamic>)
            : null,
        textStyle: json_.containsKey('textStyle')
            ? TextStyle.fromJson(
                json_['textStyle'] as core.Map<core.String, core.dynamic>)
            : null,
      );