SPDataModel.fromMap constructor
Implementation
factory SPDataModel.fromMap(Map<String, dynamic> map) {
return SPDataModel(
message: map['message'],
participant: SPParticipant.fromMap(
Map<String, dynamic>.from(
map['participant'],
),
),
);
}