CoreRefType.fromJson constructor

CoreRefType.fromJson(
  1. Object? json
)

Returns a new instance from a JSON value. May throw if the value does not have the expected structure.

Implementation

factory CoreRefType.fromJson(Object? json) {
  return ToJsonSerializable.enumFromJson(json, values, _spec);
}