PullConfiguration.fromJson constructor

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

Implementation

factory PullConfiguration.fromJson(
  Map<String, Object?> json,
) =>
    PullConfiguration(
      enabledAt: decodeDateTime(json["enabled_at"]),
      mandate: PullConfigurationMandate.fromJson(
        (json["mandate"] as Map).cast<String, Object?>(),
      ),
    );