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;
}