toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'firstName'] = firstName;
  json[r'lastName'] = lastName;
  json[r'emailAddress'] = emailAddress;
  if (userOptions != null) {
    json[r'userOptions'] = userOptions;
  }
  return json;
}