toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (result != null) {
    _json[r'result'] = result;
  } else {
    _json[r'result'] = null;
  }
  return _json;
}