toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (displayName != null) 'displayName': displayName!,
      if (email != null) 'email': email!,
      if (firstName != null) 'firstName': firstName!,
      if (lastName != null) 'lastName': lastName!,
      if (phone != null) 'phone': phone!,
      if (title != null) 'title': title!,
    };