Struct constructor

Struct({
  1. Map<String, Value>? fields,
})

Implementation

factory Struct({
  $core.Map<$core.String, Value>? fields,
}) {
  final $result = create();
  if (fields != null) {
    $result.fields.addAll(fields);
  }
  return $result;
}