Feedback.fromJson constructor

Feedback.fromJson(
  1. Map json_
)

Implementation

Feedback.fromJson(core.Map json_)
    : this(
        material: json_.containsKey('material')
            ? (json_['material'] as core.List)
                .map((value) => ExtraMaterial.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        text: json_.containsKey('text') ? json_['text'] as core.String : null,
      );