encode method

Object encode()

Implementation

Object encode() {
  return <Object?>[
    userProfile.encode(),
    customInfo?.encode(),
  ];
}