DMMF.fromJson constructor

DMMF.fromJson(
  1. Map json
)

Implementation

factory DMMF.fromJson(Map json) {
  return DMMF(
    datamodel: DataModel.fromJson(json['datamodel']),
    schema: Schema.fromJson(json['schema']),
    mappings: Mappings.fromJson(json['mappings']),
    source: json.cast(),
  );
}