TokenPii.fromJson constructor

TokenPii.fromJson(
  1. Object? json
)

Implementation

factory TokenPii.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return TokenPii(
      idNumber:
          map['id_number'] == null ? null : (map['id_number'] as String));
}