Subscription( this.consumer, Map<String, dynamic> params, { this.onData, this.onCreated, }) { identifier = jsonEncode(params); }