Rpc constructor

Rpc({
  1. String? id,
  2. String? payload,
  3. String? httpKey,
})

Implementation

factory Rpc({
  $core.String? id,
  $core.String? payload,
  $core.String? httpKey,
}) {
  final _result = create();
  if (id != null) {
    _result.id = id;
  }
  if (payload != null) {
    _result.payload = payload;
  }
  if (httpKey != null) {
    _result.httpKey = httpKey;
  }
  return _result;
}