toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'allowed_ips'] = this.allowedIps;
  json[r'created_at'] = this.createdAt.toUtc().toIso8601String();
  json[r'id'] = this.id;
  json[r'name'] = this.name;
  json[r'numbers'] = this.numbers;
  json[r'password'] = this.password;
  json[r'updated_at'] = this.updatedAt.toUtc().toIso8601String();
  json[r'uri'] = this.uri;
  json[r'username'] = this.username;
  return json;
}