toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'code': code,
    'digest': digest,
    'object_id': objectId,
    'version': version,
    'error': error
  };
}