toJson method

Map<String, dynamic> toJson()

Implementation

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