toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (bestGuess != null) 'bestGuess': bestGuess!,
if (fromBytes != null) 'fromBytes': fromBytes!,
if (fromFileName != null) 'fromFileName': fromFileName!,
if (fromHeader != null) 'fromHeader': fromHeader!,
if (fromUrlPath != null) 'fromUrlPath': fromUrlPath!,
};