StructType.fromJson constructor

StructType.fromJson(
  1. Map json_
)

Implementation

StructType.fromJson(core.Map json_)
    : this(
        fields: json_.containsKey('fields')
            ? (json_['fields'] as core.List)
                .map((value) => Field.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );