toJson method

Map<String, dynamic> toJson()

Implementation

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