parseLocation method

ErrorLocation parseLocation(
  1. Map<String, dynamic> location
)

Parses a response error location

Extend this to add non-standard behavior

Implementation

ErrorLocation parseLocation(Map<String, dynamic> location) => ErrorLocation(
      line: location["line"] as int,
      column: location["column"] as int,
    );