toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      'alias': alias,
      'fields': fields,
      'protocol': protocol,
    };