fromJson static method

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

Implementation

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

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