ConnectAccountReference.fromJson constructor
ConnectAccountReference.fromJson(
- Object? json
Implementation
factory ConnectAccountReference.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return ConnectAccountReference(
account:
map['account'] == null ? null : AccountOrId.fromJson(map['account']),
type: AutomaticTaxLiabilityType.fromJson(map['type']),
);
}