TextConfig.fromJson constructor

TextConfig.fromJson(
  1. Map json_
)

Implementation

TextConfig.fromJson(core.Map json_)
  : this(
      additionalTransformations:
          (json_['additionalTransformations'] as core.List?)
              ?.map(
                (value) => InfoTypeTransformation.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
              .toList(),
      excludeInfoTypes:
          (json_['excludeInfoTypes'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
      transformations:
          (json_['transformations'] as core.List?)
              ?.map(
                (value) => InfoTypeTransformation.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
              .toList(),
    );