fromJson static method

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

Implementation

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

  return InputPassportElementIdentityCard(
    identityCard: InputIdentityDocument.fromJson(
        json['identity_card'] as Map<String, dynamic>?)!,
  );
}