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