fromJson static method

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

Implementation

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

  return InputPassportElementErrorSourceUnspecified(
    elementHash: (json['element_hash'] as String?) ?? '',
  );
}