InviteCode.fromJson constructor

InviteCode.fromJson(
  1. Map<String, Object?> json
)

A factory method that creates an InviteCode instance from a JSON map.

json is a map in the JSON format, which the method converts into an InviteCode instance.

Implementation

factory InviteCode.fromJson(Map<String, Object?> json) =>
    _$InviteCodeFromJson(json);