toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.action != null) {
json[r'action'] = this.action;
} else {
json[r'action'] = null;
}
if (this.auth != null) {
json[r'auth'] = this.auth;
} else {
json[r'auth'] = null;
}
if (this.id != null) {
json[r'id'] = this.id;
} else {
json[r'id'] = null;
}
json[r'props'] = this.props;
return json;
}