EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails.fromJson constructor

EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails.fromJson(
  1. Map json_
)

Implementation

EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails.fromJson(
    core.Map json_)
    : this(
        eventAttemptStats: json_.containsKey('eventAttemptStats')
            ? (json_['eventAttemptStats'] as core.List)
                .map((value) =>
                    EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        eventExecutionSnapshot: json_.containsKey('eventExecutionSnapshot')
            ? (json_['eventExecutionSnapshot'] as core.List)
                .map((value) =>
                    EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        eventExecutionSnapshotsSize:
            json_.containsKey('eventExecutionSnapshotsSize')
                ? json_['eventExecutionSnapshotsSize'] as core.String
                : null,
        eventExecutionState: json_.containsKey('eventExecutionState')
            ? json_['eventExecutionState'] as core.String
            : null,
        eventRetriesFromBeginningCount:
            json_.containsKey('eventRetriesFromBeginningCount')
                ? json_['eventRetriesFromBeginningCount'] as core.int
                : null,
        logFilePath: json_.containsKey('logFilePath')
            ? json_['logFilePath'] as core.String
            : null,
        networkAddress: json_.containsKey('networkAddress')
            ? json_['networkAddress'] as core.String
            : null,
        nextExecutionTime: json_.containsKey('nextExecutionTime')
            ? json_['nextExecutionTime'] as core.String
            : null,
        ryeLockUnheldCount: json_.containsKey('ryeLockUnheldCount')
            ? json_['ryeLockUnheldCount'] as core.int
            : null,
      );