encode method

Object encode()

Implementation

Object encode() {
  return <Object?>[
    key,
    androidPrompt.encode(),
    iOsPrompt.encode(),
  ];
}