toMap method
Converts this SetLevelRequestParams into a JSON-compatible map.
Implementation
@override
Map<String, Object?> toMap() {
return {
if ($meta != null) '_meta': $meta!.toMap(),
'level': level.toString(),
};
}
Converts this SetLevelRequestParams into a JSON-compatible map.
@override
Map<String, Object?> toMap() {
return {
if ($meta != null) '_meta': $meta!.toMap(),
'level': level.toString(),
};
}