toJson method

Map<String, dynamic> toJson()

Implementation

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