Returns the JSON representation.
@override Map<String, Object> toJson() => { 'errors': errors, if (meta.isNotEmpty) 'meta': meta, };