RelationData.fromJson constructor
Implementation
factory RelationData.fromJson(Map<String, Object?> json) {
return RelationData(
createdBy: json[r'createdBy'] != null
? User.fromJson(json[r'createdBy']! as Map<String, Object?>)
: null,
createdDate: DateTime.tryParse(json[r'createdDate'] as String? ?? ''),
friendlyCreatedDate: json[r'friendlyCreatedDate'] as String?,
);
}