encode static method

Map<String, dynamic> encode(
  1. FailedRequestDetails value
)

Implementation

static Map<String, dynamic> encode(FailedRequestDetails value) {
	Map<String, dynamic> entityAsMap = {
		"entityId" : value.entityId,
		"delegateId" : value.delegateId,
		"updatedForMigration" : value.updatedForMigration,
		"code" : value.code,
		"reason" : value.reason,
		"request" : value.request == null ? null : DelegateShareOptions.encode(value.request!),
		"shouldRetry" : value.shouldRetry
	};
	return entityAsMap;
}