TextPropertyOptions.fromJson constructor

TextPropertyOptions.fromJson(
  1. Map json_
)

Implementation

TextPropertyOptions.fromJson(core.Map json_)
  : this(
      operatorOptions:
          json_.containsKey('operatorOptions')
              ? TextOperatorOptions.fromJson(
                json_['operatorOptions']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      retrievalImportance:
          json_.containsKey('retrievalImportance')
              ? RetrievalImportance.fromJson(
                json_['retrievalImportance']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
    );