Relay.fromJson constructor

Relay.fromJson(
  1. Map<String, dynamic> json
)

Creates a Relay instance from a JSON object.

Parameters:

  • json – A map representing the JSON object.

Returns a Relay instance with the corresponding properties.

Implementation

factory Relay.fromJson(Map<String, dynamic> json) => _$RelayFromJson(json);