GetPowerRequest constructor

GetPowerRequest({
  1. String? name,
  2. Struct? extra,
})

Implementation

factory GetPowerRequest({
  $core.String? name,
  $43.Struct? extra,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (extra != null) {
    $result.extra = extra;
  }
  return $result;
}