toMap method

  1. @override
Map<String, dynamic> toMap()
override

Implementation

@override
Map<String, dynamic> toMap(){
  final map = <String, dynamic>{};
  map[fieldClientRequestId] = clientRequestId;
  map[fieldRequestType] = requestType.toString().split('.').last;
  return map;
}