TerminalConnectionToken.fromJson constructor
TerminalConnectionToken.fromJson(
- Object? json
Implementation
factory TerminalConnectionToken.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return TerminalConnectionToken(
location: map['location'] == null ? null : (map['location'] as String),
secret: (map['secret'] as String),
);
}