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(
      tdMapFromJson(json['identity_card']),
    ),
  );
}