PushCondition.fromJson constructor

PushCondition.fromJson(
  1. Map<String, Object?> json
)

Implementation

PushCondition.fromJson(Map<String, Object?> json)
    : is$ = ((v) => v != null ? v as String : null)(json['is']),
      key = ((v) => v != null ? v as String : null)(json['key']),
      kind = json['kind'] as String,
      pattern = ((v) => v != null ? v as String : null)(json['pattern']);