MapValue constructor

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

Implementation

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