toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final message = this.message;
  final normal = this.normal;
  final status = this.status;
  final statusType = this.statusType;
  return {
    if (message != null) 'Message': message,
    if (normal != null) 'Normal': normal,
    if (status != null) 'Status': status,
    if (statusType != null) 'StatusType': statusType,
  };
}