Autofit.fromJson constructor

Autofit.fromJson(
  1. Map json_
)

Implementation

Autofit.fromJson(core.Map json_)
    : this(
        autofitType: json_['autofitType'] as core.String?,
        fontScale: (json_['fontScale'] as core.num?)?.toDouble(),
        lineSpacingReduction:
            (json_['lineSpacingReduction'] as core.num?)?.toDouble(),
      );