[SetPushRequest] make required field required in the class too
Took 6 minutes
This commit is contained in:
parent
88be572170
commit
8ac7b01d53
|
|
@ -21,6 +21,7 @@
|
||||||
* along with famedly. If not, see <http://www.gnu.org/licenses/>.
|
* along with famedly. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
import 'package:json_annotation/json_annotation.dart';
|
import 'package:json_annotation/json_annotation.dart';
|
||||||
|
import 'package:meta/meta.dart';
|
||||||
|
|
||||||
part 'SetPushersRequest.g.dart';
|
part 'SetPushersRequest.g.dart';
|
||||||
|
|
||||||
|
|
@ -47,13 +48,13 @@ class SetPushersRequest {
|
||||||
bool append;
|
bool append;
|
||||||
|
|
||||||
SetPushersRequest({
|
SetPushersRequest({
|
||||||
this.lang,
|
@required this.lang,
|
||||||
this.device_display_name,
|
@required this.device_display_name,
|
||||||
this.app_display_name,
|
@required this.app_display_name,
|
||||||
this.app_id,
|
@required this.app_id,
|
||||||
this.kind,
|
@required this.kind,
|
||||||
this.pushkey,
|
@required this.pushkey,
|
||||||
this.data,
|
@required this.data,
|
||||||
this.profile_tag,
|
this.profile_tag,
|
||||||
this.append,
|
this.append,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue