Map<String, dynamic> toJson() => { "coin_identifier": coin_identifier.toJson(), "coin_action": coin_action }..removeWhere( (dynamic key, dynamic value) => key == null || value == null);