ModelRelation.fromMap constructor

ModelRelation.fromMap(
  1. Map<String, dynamic> data
)

Implementation

ModelRelation.fromMap(Map<String, dynamic> data)
    : this.create(
          IdUid.fromString(data['id'] as String?), data['name'] as String?,
          targetId: data['targetId'] as String?,
          targetName: data['targetName'] as String?);