ModelReverseRelationInfo.fromJson constructor

ModelReverseRelationInfo.fromJson(
  1. Map<String, dynamic> json
)

Creates a ModelReverseRelationInfo instance from a JSON map (deserialization).

Implementation

factory ModelReverseRelationInfo.fromJson(Map<String, dynamic> json) {
  return ModelReverseRelationInfo(
    fieldNameInThisModel: json['fieldNameInThisModel'] as String,
    referencingTableOriginalName:
        json['referencingTableOriginalName'] as String,
    foreignKeyColumnInReferencingTable:
        json['foreignKeyColumnInReferencingTable'] as String,
  );
}