IncludeEventContext.fromJson constructor

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

Implementation

IncludeEventContext.fromJson(Map<String, Object?> json)
    : afterLimit = ((v) => v != null ? v as int : null)(json['after_limit']),
      beforeLimit =
          ((v) => v != null ? v as int : null)(json['before_limit']),
      includeProfile =
          ((v) => v != null ? v as bool : null)(json['include_profile']);