toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (address != null) 'address': address!,
      if (channels != null) 'channels': channels!,
      if (emails != null) 'emails': emails!,
      if (name != null) 'name': name!,
      if (party != null) 'party': party!,
      if (phones != null) 'phones': phones!,
      if (photoUrl != null) 'photoUrl': photoUrl!,
      if (urls != null) 'urls': urls!,
    };