SchemaTypes<T>.fromJson constructor
Implementation
factory SchemaTypes.fromJson(Map json, T Function(Map json) factory) {
return SchemaTypes(
model: json['model'] == null
? []
: (json['model'] as Iterable).cast<Map>().map(factory).toList(),
prisma: json['prisma'] == null
? []
: (json['prisma'] as Iterable).cast<Map>().map(factory).toList(),
);
}