toJson method
Serializes this CommandResponse to JSON.
Implementation
Map<String, dynamic> toJson() => <String, dynamic>{
'WasSuccessful': success,
'ValidationErrors': errors.map((error) => error.toJson()).toList(),
};
Serializes this CommandResponse to JSON.
Map<String, dynamic> toJson() => <String, dynamic>{
'WasSuccessful': success,
'ValidationErrors': errors.map((error) => error.toJson()).toList(),
};