TextRotation.fromJson constructor

TextRotation.fromJson(
  1. Map json_
)

Implementation

TextRotation.fromJson(core.Map json_)
    : this(
        angle: json_.containsKey('angle') ? json_['angle'] as core.int : null,
        vertical: json_.containsKey('vertical')
            ? json_['vertical'] as core.bool
            : null,
      );