Skip to content

CreateCustomProtocol

An RPC request for ProtocolFactoryService.createCustomProtocol.

Inheritance
Annotations

Constructors

CreateCustomProtocol.fromJson

CreateCustomProtocol.fromJson(
  1. Map<String, dynamic> json
)

CreateCustomProtocol

CreateCustomProtocol(
  1. String ownerId,
  2. String name,
  3. String description,
  4. String customProtocol,
)

Properties

customProtocol

String customProtocol
final

description

String description
final

fromJsonFunction

Function get fromJsonFunction
override

The function which can convert a JSON string to an object of this type.

jsonType

String get jsonType
override

Return the __type to be used for JSON serialization of this class. Default is runtimeType. Only specify this if you need another type.

name

String name
final

ownerId

String ownerId
final

Methods

toJson

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.