TemplateItem.fromJson constructor

TemplateItem.fromJson(
  1. Map json_
)

Implementation

TemplateItem.fromJson(core.Map json_)
  : this(
      firstValue:
          json_.containsKey('firstValue')
              ? FieldSelector.fromJson(
                json_['firstValue'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      predefinedItem: json_['predefinedItem'] as core.String?,
      secondValue:
          json_.containsKey('secondValue')
              ? FieldSelector.fromJson(
                json_['secondValue'] as core.Map<core.String, core.dynamic>,
              )
              : null,
    );