fromJson static method

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

Implementation

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

  return InputPassportElementDriverLicense(
    driverLicense: InputIdentityDocument.fromJson(
      tdMapFromJson(json['driver_license']),
    ),
  );
}