Readings constructor

Readings({
  1. @Deprecated('This field is deprecated.') ResourceName? name,
  2. @Deprecated('This field is deprecated.') Map<String, Value>? readings,
})

Implementation

factory Readings({
@$core.Deprecated('This field is deprecated.')
  $14.ResourceName? name,
@$core.Deprecated('This field is deprecated.')
  $core.Map<$core.String, $43.Value>? readings,
}) {
  final $result = create();
  if (name != null) {
    // ignore: deprecated_member_use_from_same_package
    $result.name = name;
  }
  if (readings != null) {
    // ignore: deprecated_member_use_from_same_package
    $result.readings.addAll(readings);
  }
  return $result;
}