toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final messageGroupId = this.messageGroupId;
  return {
    if (messageGroupId != null) 'MessageGroupId': messageGroupId,
  };
}