fromJson static method

InputPassportElementErrorSourceSelfie? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static InputPassportElementErrorSourceSelfie? fromJson(
  Map<String, dynamic>? json,
) {
  if (json == null) {
    return null;
  }

  return InputPassportElementErrorSourceSelfie(
    fileHash: (json['file_hash'] as String?) ?? '',
  );
}