OutputType.fromJson constructor

OutputType.fromJson(
  1. Map json
)

Implementation

factory OutputType.fromJson(Map json) {
  return OutputType(
    name: json['name'],
    fields: (json['fields'] as Iterable)
        .map((e) => OutputField.fromJson(e))
        .toList(),
  );
}