toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'emailAddress'] = this.emailAddress;
  if (this.inboxId != null) {
    json[r'inboxId'] = this.inboxId;
  } else {
    json[r'inboxId'] = null;
  }
  if (this.name != null) {
    json[r'name'] = this.name;
  } else {
    json[r'name'] = null;
  }
    json[r'useThreads'] = this.useThreads;
  return json;
}