fromJson static method

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

Implementation

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

  return PassportElementErrorSourceTranslationFile(
    fileIndex: (json['file_index'] as int?) ?? 0,
  );
}