toJson method

Map<String, dynamic> toJson ()

Returns the JSON representation.

Implementation

toJson() => super.toJson()..['errors'] = errors;