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