fromJson static method

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

Implementation

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

  return InputFileId(id: (json['id'] as int?) ?? 0);
}