Agent<IDENTITY extends Role>.fromJson constructor

Agent<IDENTITY extends Role>.fromJson(
  1. Map<String, dynamic> json,
  2. IDENTITY fromJsonIdentity(
    1. Object? json
    )
)

Implementation

factory Agent.fromJson(
  Map<String, dynamic> json,
  IDENTITY Function(Object? json) fromJsonIdentity,
) => _$AgentFromJson(json, fromJsonIdentity);