PlayerErrorSourceLocation.fromJson constructor

PlayerErrorSourceLocation.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PlayerErrorSourceLocation.fromJson(Map<String, dynamic> json) {
  return PlayerErrorSourceLocation(
    file: json['file'] as String,
    line: json['line'] as int,
  );
}